/*
 * @Author: yuqy
 * @Date: 2023-04-12 09:54:59
 * @LastEditors: yuqy
 * @LastEditTime: 2023-10-20 16:50:01
 * @Descripttion: -
 */

const routes = [
  {
    path: '/',
    redirect: '/menu'
  },
  {
    path: '/menu',
    name: 'menu',
    meta: {
      title: 'menu'
    },
    component: () => import('@/view/menu/index.vue')
  },
  {
    path: '/login',
    name: 'login',
    meta: {
      title: 'login'
    },
    component: () => import('@/view/user/login.vue')
  },
  {
    path: '/home',
    name: 'home',
    meta: {
      title: 'home'
    },
    component: () => import('@/view/home/index.vue')
  },
  {
    path: '/homeSpeaker',
    name: 'homeSpeaker',
    meta: {
      title: 'homeSpeaker'
    },
    component: () => import('@/view/homeSpeaker/index.vue')
  },
  {
    path: '/listenSpeaker',
    name: 'listenSpeaker',
    meta: {
      title: 'listenSpeaker'
    },
    component: () => import('@/view/listenSpeaker/index.vue')
  },
  {
    path: '/whiteboard',
    name: 'whiteboard',
    meta: {
      title: 'whiteboard'
    },
    component: () => import('@/view/whiteboard/index.vue')
  },
  {
    path: '/audience',// 副屏页面
    name: 'audience',
    meta: {
      title: 'audience'
    },
    component: () => import('@/view/audience/index.vue')
  },
  {
    path: '/person',
    name: 'person',
    meta: {
      title: 'person'
    },
    component: () => import('@/view/user/person.vue')
  },
  {
    path: '/demo',
    name: 'demo',
    meta: {
      title: 'demo'
    },
    component: () => import('@/view/demo/index.vue')
  },
  {
    path: '/demoSet',
    name: 'demoSet',
    meta: {
      title: 'demoSet'
    },
    component: () => import('@/view/demo/indexSet.vue')
  },
  {
    path: '/500',
    name: 'error_500',
    meta: {
      title: '500'
    },
    component: () => import('@/view/error/500.vue')
  },
  {
    path: '/404',
    name: 'error_404',
    meta: {
      title: '404'
    },
    component: () => import('@/view/error/404.vue')
  }
]

export default routes
